import request from "@/base/http/request";
import type { FileEntity } from "@/types/message";

export const getHistoryMsg = (params: any): Promise<any> => {
  return request({
    url: "/chat/list",
    method: "get",
    params,
  });
};


export const getFileAnalyserResult = (params: FileEntity[]): Promise<any> => {
  return request({
    url: "/analysis/file",
    method: "post",
    data:params,
  });
};


